{template "common","header"}
<script type="text/javascript" src="{JS_PATH}hch_member_common.js"></script>
<script type="text/javascript" src="{JS_PATH}formvalidator.js" charset="UTF-8"></script>
<script type="text/javascript" src="{JS_PATH}formvalidatorregex.js" charset="UTF-8"></script>
<script language="JavaScript">
<!--
$(function(){
	$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
	$("#username").formValidator({onshow:"请输入用户名",onfocus:"2-20位之间"}).inputValidator({min:2,max:20,onerror:"2-20位之间"}).regexValidator({regexp:"ps_username",datatype:"enum",onerror:"用户名格式不正确"});
	$("#password").formValidator({onshow:"请输入密码",onfocus:"6-20位之间"}).inputValidator({min:6,max:20,onerror:"6-20位之间"});

});
//-->
</script>

<div class="wrap">
	<div>
		<div id="login_wrap">
			<form method="post" action="" onsubmit="save_username();" id="myform" name="myform">
				<input type="hidden" name="forward" id="forward" value="{$forward}">
				<table align="center">
					<tr>
						<th align="left" width="80" valign="top" >用户名：<br>&nbsp;</th>
						<td align="left"><input type="text" id="username" name="username" size="22" class="input-text"></td>
					</tr>
					<tr>
						<td style="line-height: 10px;">&nbsp;</td>
					</tr>
					<tr>
						<th align="left" width="80" valign="top" >密&nbsp;&nbsp;码：<br>&nbsp;</th>
						<td align="left"><input type="password" id="password" name="password" size="22" class="input-text"></td>
					</tr>
					<tr>
						<td style="line-height: 5px;">&nbsp;</td>
					</tr>
					<tr>
						<td align="left" width="80">
							<input type="submit" class="submit" name="dosubmit" id="dosubmit" value="登录">
						</td>
						<td align="left">
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							<input type="button" class="submit" name="register" class="register" id="doreg" value="注册" style="cursor:pointer"
							onclick="redirect('{APP_PATH}index.php?m=hchmember&c=index&a=register&siteid={$siteid}')">
							<!--<a name="register" class="register" style="cursor:pointer" onclick="redirect('{APP_PATH}index.php?m=hchmember&c=index&a=register&siteid={$siteid}')">注册</a>-->
						</td>
					</tr>
				</table>
			   	<!-- <div class="input">
					用户名： &nbsp;&nbsp;&nbsp;&nbsp;<input type="text" id="username" name="username" size="22" class="input-text">
				</div>
				<br>
			    <div class="input">
					密&nbsp;&nbsp;码： &nbsp;&nbsp;&nbsp;&nbsp;<input type="password" id="password" name="password" size="22" class="input-text">
				</div>
			    <br>
			    <div class="take">
					<div class="submit">
						<input type="submit" name="dosubmit" id="dosubmit" value="登录">&nbsp;&nbsp;&nbsp;&nbsp;
						<a name="register" class="register" style="cursor:pointer" onclick="redirect('{APP_PATH}index.php?m=hchmember&c=index&a=register&siteid={$siteid}')">注册</a>
					</div>
				</div> -->
			</form>
		</div>
	</div>
</div>
<script language="JavaScript">
<!--

	$(function(){
		$('#username').focus();
	})

	function save_username() {
		if($('#cookietime').attr('checked')==true) {
			var username = $('#username').val();
		} 
	}
//-->
</script>

{template "common","footer"}
<!--footer end-->
</body>
</html>